import { useMaterialCategoryStore } from "@/handle/store/MaterialCategoryStore";

export function getEntityStore(entityName: string): any {
  switch (entityName) {
    case "MaterialCategory": {
      const entityStore = useMaterialCategoryStore();
      return entityStore;
    }
    case "B": {
      console.log("良");
      break;
    }
    case "C": {
      console.log("及格");
      break;
    }
    case "D": {
      console.log("不及格");
      break;
    }
    default: {
      console.log("非法输入");
      break;
    }
  }
}
